package com.zxy.express;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.builder.SpringApplicationBuilder;
import org.springframework.cache.annotation.EnableCaching;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.context.annotation.ComponentScan;

/**
 *
 * @author zhangxiying
 * @since 2025-07-01
 */
@EnableDiscoveryClient
@ComponentScan(basePackages = {"com.zxy","com.autopai"})
@MapperScan(value = {"com.zxy.express.dao"})
@SpringBootApplication
@EnableCaching
public class ExpressApplication {
    public static void main(String[] args) {
        new SpringApplicationBuilder(ExpressApplication.class).allowCircularReferences(true).run(args);
    }

}
